package drds.global_transaction.transaction_coordinator.transaction_session;

import drds.global_transaction.api.api.GlobalTransactionStatus;
import lombok.Getter;
import lombok.Setter;

public class TransactionSessionCondition
{
	@Setter
	@Getter
	private GlobalTransactionStatus globalTransactionStatus;
	@Setter
	@Getter
	private long overTimeAliveMills;

	public TransactionSessionCondition(GlobalTransactionStatus globalTransactionStatus, long overTimeAliveMills)
	{
		this.globalTransactionStatus = globalTransactionStatus;
		this.overTimeAliveMills = overTimeAliveMills;
	}

}
